package cn.yuanyu.tkmapper.services;

import cn.yuanyu.tkmapper.entities.Employee;
import cn.yuanyu.tkmapper.mappers.EmployeeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yuanyu
 */
@Service
public class EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    public void saveEmployee(Employee employee) {
        employeeMapper.insert(employee);
        int i = 1 / 0;
    }


}
